package oving3;

public class CardDeck {
	static Card[] cards;
	
	static void build(){
		String[] a={"S","H","D","C"};
		int stokklengde=52;
		cards=new Card[stokklengde];
		int plass=0;
		for(int i=0;i<a.length;i++){
			for(int j=0;j<stokklengde/4;j++){
				cards[plass]=new Card(a[i],j+1);
				plass++;
			}
			
		}
		plass=0;
		System.out.println(cards[0].toString());
		
		
	}
	public Card getCard(int arg){
		return cards[arg];
	}
	public static void main(String[] args){
		build();
	
	}
}
